package com.panfeng.xcloud.common.core.constants;

/**
 * 常量类
 *
 * @author xiaobo
 * @date 2018-03-15
 */
public class RedisConstants {

    public static final String XDCLOUD_COMMON_ACCESS_TOKEN_PREFIX = "xdcloud&mgr&accesstoken&";

    public static final String XDCLOUD_BOSS_LOGIN_USERID_PREFIX = "xdcloud&boss&login_userId&";

    public static final String XDCLOUD_BOSS_MOBILESMSCOUNT_PREFIX = "xdcloud&boss&mobilesmscount&";

    public static final String XDCLOUD_BOSS_IPSMSCOUNT_PREFIX = "xdcloud&boss&ipsmscount&";

    public static final String XDCLOUD_BOSS_TOTALSMSCOUNT_PREFIX = "xdcloud&boss&totalsmscount&";

    public static final String XDCLOUD_BOSS_SENDSMSRATE_PREFIX = "xdcloud&boss&sendsmsrate&";

    public static final String XDCLOUD_BOSS_VERIFYINGCODE_PREFIX = "xdcloud&boss&verifyingcode&";

    public static final String REGIST_INTEGRAL_RULE = "xdcloud&boss&regist_integral_rule&ext";

    public static final String REGIST_CACHE = "xdcloud&boss&regist_cache";

    public static final String QUANT_OPERATE_FREQUENCY_CACHE = "xdcloud&boss&quant_operate_frequency_cache";

    public static final String GT_STATUS = "xdcloud&boss&GT&STATUS&";

    public static final String XDCLOUD_BOSS_USEROCRAUTHCOUNT_PREFIX = "xdcloud&boss&user_ocr_auth_count&";

    public static final String XDCLOUD_BOSS_UID_CURRENT_FIRSTCHAR_PREFIX = "xdcloud&boss&uid_current_firstchar&";

    public static final String XDCLOUD_BOSS_SEGMENT_UID_CONFIG_PREFIX = "xdcloud&boss&segment_uid_config&";

    public static final String UID_CURRENTLASTNUM_PREFIX = "xd&currentlastnum&";

    public static final String XDCLOUD_BOSS_VOICE_VERIFYINGCODE_PREFIX = "xdcloud&mgr&voice&verifyingcode&";
    public static final String XDCLOUD_BOSS_VOICE_MOBILESMSCOUNT_PREFIX = "xdcloud&boss&voice&mobilesmscount&";
    public static final String XDCLOUD_BOSS_VOICE_IPSMSCOUNT_PREFIX = "xdcloud&boss&voice&ipsmscount&";
    public static final String XDCLOUD_BOSS_VOICE_TOTALSMSCOUNT_PREFIX = "xdcloud&boss&voice&totalsmscount&";
    public static final String XDCLOUD_BOSS_VOICE_SENDSMSRATE_PREFIX = "xdcloud&boss&voice&sendsmsrate&";

    public static final String XDCLOUD_OCRCHECKFREQUENCY_CACHE = "xdcloud&boss&ocrcheckfrequency&";

    public static final String QUAN_BOT_STRATEGY_TYPE = "strategytype";//策略种类

    public static final String QUAN_BOT_OPEN_INTEREST = "openinterest";//持仓数量
    public static final String QUAN_BOT_COVER_TIME = "covertime";//补仓次数
    public static final String QUAN_BOT_COVER_RATE = "coverrate";//补仓跌幅

    //OKEX量化展示用的行情
    public static final String OKEX_APPEAR_MARKET = "appearprice:okex";

    //火币量化展示用的行情
    public static final String HUO_BI_APPEAR_MARKET = "appearprice:huobi";

    //币安量化展示用的行情
    public static final String BINANCE_APPEAR_MARKET = "appearprice:binance";

    //多单当前止损次数
    public static final String BUY_STOP_LOSS_NUM = "buy_stop_loss_num";

    //空单当前止损次数
    public static final String SELL_STOP_LOSS_NUM = "sell_stop_loss_num";

    //对冲仓模糊匹配
    public static final String OFF_SET_DETAIL = "off_set_detail:*";

    //火币对冲仓队列
    public static final String OFF_SET_DETAIL_HUOBI = "off_set_detail:huobi:";

    //币安对冲仓队列
    public static final String OFF_SET_DETAIL_BINANCE = "off_set_detail:binance:";

}
